package com.jyh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/12/8 13:25
 */
@Data
@TableName(value = "tbl_stock")
public class Stock {
    @TableId(value = "product_id",type = IdType.AUTO)
    private Integer productId;
    @TableField(value = "number")
    private Integer stock;
}
